package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author 马迎迎
 * @Title: MemberFeignService
 * @Package com.atguigu.gulimall.order.feign
 * @Description: TODO(添加描述)
 * @date 2021年05月29日 14:37
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {
    @GetMapping("/member/memberreceiveaddress/{memberId}")
    public List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);
}
